package com.shenmazong.user.service;

import com.shenmazong.user.pojo.TbAdmin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shenmazong.utils.ResultResponse;
import com.shenmazong.vo.ChangePasswordVo;
import com.shenmazong.vo.IdVo;
import com.shenmazong.vo.LoginVo;
import com.shenmazong.vo.PageVo;

/**
 *
 */
public interface TbAdminService extends IService<TbAdmin> {

    ResultResponse add(TbAdmin tbAdmin);

    ResultResponse del(IdVo idVo);

    ResultResponse set(TbAdmin tbAdmin);

    ResultResponse get(IdVo idVo);

    ResultResponse ListByPage(PageVo pageVo);

    ResultResponse changePassword(ChangePasswordVo changePasswordVo);

    ResultResponse login(LoginVo loginVo);
}
